gtk4.git
21 years agoDon't translate NULL messages. (#161789, Morten Welinder)
Matthias Clasen [Mon, 20 Dec 2004 16:05:25 +0000 (16:05 +0000)]
Don't translate NULL messages. (#161789, Morten Welinder)

2004-12-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkactiongroup.c (gtk_action_group_translate_string): Don't
translate NULL messages.  (#161789, Morten Welinder)

21 years agoDon't show the secondary label on show_all(). (#161707, Christian Persch)
Matthias Clasen [Mon, 20 Dec 2004 15:50:45 +0000 (15:50 +0000)]
Don't show the secondary label on show_all(). (#161707, Christian Persch)

2004-12-20  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmessagedialog.c (setup_primary_label_font): Don't show
the secondary label on show_all().  (#161707, Christian Persch)

21 years agoUpdated vi.po
Nguyen Thai Ngoc Duy [Mon, 20 Dec 2004 13:12:48 +0000 (13:12 +0000)]
Updated vi.po

21 years agoUpdated Simplified Chinese translation
Funda Wang [Mon, 20 Dec 2004 06:57:09 +0000 (06:57 +0000)]
Updated Simplified Chinese translation

21 years agoUse wide character API when available. Use UTF-8 for filenames.
Tor Lillqvist [Sun, 19 Dec 2004 21:00:58 +0000 (21:00 +0000)]
Use wide character API when available. Use UTF-8 for filenames.

2004-12-19  Tor Lillqvist  <tml@iki.fi>

* gdk/win32/gdkdnd-win32.c (resolve_link, gdk_dropfiles_filter):
Use wide character API when available. Use UTF-8 for filenames.

* gdk/win32/gdkselection-win32.c (_gdk_dropfiles_store): Include
the string's trailing zero byte in the property's length, just for
safety.

21 years agoUpdated Simplified Chinese translation
Funda Wang [Sun, 19 Dec 2004 16:07:17 +0000 (16:07 +0000)]
Updated Simplified Chinese translation

21 years agoUpdated Czech translation.
Miloslav Trmac [Sun, 19 Dec 2004 12:08:22 +0000 (12:08 +0000)]
Updated Czech translation.

2004-12-19  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

21 years agoAdd missing GDK_THREADS_ENTER/LEAVE.
Matthias Clasen [Sun, 19 Dec 2004 04:45:09 +0000 (04:45 +0000)]
Add missing GDK_THREADS_ENTER/LEAVE.

2004-12-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserentry.c (check_completion_callback)
(load_directory_callback): Add missing GDK_THREADS_ENTER/LEAVE.

* gtk/gtkfilechooserdefault.c (edited_idle_cb)
(shortcuts_drag_outside_idle_cb): Add missing
GDK_THREADS_ENTER/LEAVE.  (#161604)

* gtk/gtkfilechooserdefault.c (selection_check_foreach_cb):
(list_select_func): Don't call gtk_file_info_get_is_folder()
on NULL.

21 years agoAdd missing initializations. (#161646, Torsten Schoenfeld)
Matthias Clasen [Sun, 19 Dec 2004 04:10:00 +0000 (04:10 +0000)]
Add missing initializations. (#161646, Torsten Schoenfeld)

2004-12-18  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaboutdialog.c (gtk_about_dialog_get_logo_icon_name):
(gtk_about_dialog_init): Add missing initializations.  (#161646,
Torsten Schoenfeld)

21 years agoTranslation updated by Tino Meinen.
Vincent van Adrighem [Sat, 18 Dec 2004 16:09:29 +0000 (16:09 +0000)]
Translation updated by Tino Meinen.

2004-12-18  Vincent van Adrighem  <adrighem@gnome.org>

* nl.po: Translation updated by Tino Meinen.

21 years agoUpdated Swedish translation.
Christian Rose [Sat, 18 Dec 2004 14:11:48 +0000 (14:11 +0000)]
Updated Swedish translation.

2004-12-18  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

21 years agoUpdated German translation.
Hendrik Brandt [Sat, 18 Dec 2004 14:06:13 +0000 (14:06 +0000)]
Updated German translation.

2004-12-18  Hendrik Brandt  <heb@gnome-de.org>

        * de.po: Updated German translation.

21 years agofix conflict in previous commit attempt
Leonid Kanter [Sat, 18 Dec 2004 12:59:14 +0000 (12:59 +0000)]
fix conflict in previous commit attempt

21 years agoUpdated Spanish translation.
Francisco Javier F. Serrador [Sat, 18 Dec 2004 12:54:17 +0000 (12:54 +0000)]
Updated Spanish translation.

2004-12-18  Francisco Javier F. Serrador  <serrador@cvs.gnome.org>

* es.po: Updated Spanish translation.

21 years agoMinor terminology fix.
Christian Rose [Sat, 18 Dec 2004 12:40:40 +0000 (12:40 +0000)]
Minor terminology fix.

2004-12-18  Christian Rose  <menthos@menthos.com>

* sv.po: Minor terminology fix.

21 years agoUpdated Swedish translation.
Christian Rose [Sat, 18 Dec 2004 12:22:56 +0000 (12:22 +0000)]
Updated Swedish translation.

2004-12-18  Christian Rose  <menthos@menthos.com>

* sv.po: Updated Swedish translation.

21 years agoRemove a no longer needed note. (#161544, Tommi Komulainen)
Matthias Clasen [Sat, 18 Dec 2004 03:55:53 +0000 (03:55 +0000)]
Remove a no longer needed note. (#161544, Tommi Komulainen)

2004-12-17  Matthias Clasen  <mclasen@redhat.com>

* gdk/tmpl/x_interaction.sgml: Remove a no longer needed
note.  (#161544, Tommi Komulainen)

21 years agospell missing stock icons correctly.
Jonathan Blandford [Fri, 17 Dec 2004 18:52:09 +0000 (18:52 +0000)]
spell missing stock icons correctly.

Fri Dec 17 13:51:17 2004  Jonathan Blandford  <jrb@redhat.com>

        * gtk/Makefile.am (HTML_IMAGES): spell missing stock icons
        correctly.

21 years agoupdate Russian translation
Leonid Kanter [Fri, 17 Dec 2004 17:25:21 +0000 (17:25 +0000)]
update Russian translation

21 years agoUpdated Albanian translation.
Laurent Dhima [Fri, 17 Dec 2004 16:34:58 +0000 (16:34 +0000)]
Updated Albanian translation.

2004-12-17  Laurent Dhima  <laurenti@alblinux.net>

* sq.po: Updated Albanian translation.

21 years agoImprove wording. (#161484, Christian Biere)
Matthias Clasen [Fri, 17 Dec 2004 01:41:05 +0000 (01:41 +0000)]
Improve wording. (#161484, Christian Biere)

2004-12-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkfeatures.sgml: Improve wording.  (#161484,
Christian Biere)

21 years ago2004-12-17 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>
Updated ja.po. T.Aihana [Fri, 17 Dec 2004 01:06:05 +0000 (01:06 +0000)]
2004-12-17 Updated ja.po. T.Aihana <aihana@gnome.gr.jp>

21 years agoAdd some missing stock icons..
Matthias Clasen [Fri, 17 Dec 2004 01:00:10 +0000 (01:00 +0000)]
Add some missing stock icons..

2004-12-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/Makefile.am (HTML_IMAGES): Add some missing stock
icons..

21 years agoBump version
Matthias Clasen [Thu, 16 Dec 2004 23:49:49 +0000 (23:49 +0000)]
Bump version

21 years ago2.6.0 second try
Matthias Clasen [Thu, 16 Dec 2004 19:13:58 +0000 (19:13 +0000)]
2.6.0 second try

21 years ago2.6.0
Matthias Clasen [Thu, 16 Dec 2004 18:21:44 +0000 (18:21 +0000)]
2.6.0

21 years agoUpdated Canadian English translation.
Adam Weinberger [Thu, 16 Dec 2004 15:57:47 +0000 (15:57 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

21 years agoupdated Russian translation
Leonid Kanter [Thu, 16 Dec 2004 14:39:00 +0000 (14:39 +0000)]
updated Russian translation

21 years agoForgotten commit.
Matthias Clasen [Thu, 16 Dec 2004 14:31:15 +0000 (14:31 +0000)]
Forgotten commit.

21 years agoOnly unblock the handlers if they are blocked.
Matthias Clasen [Thu, 16 Dec 2004 14:18:52 +0000 (14:18 +0000)]
Only unblock the handlers if they are blocked.

2004-12-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c (dialog_response_cb): Only unblock the handlers
if they are blocked.

21 years agoDon't crash if enable_search is FALSE. (#161267, Jorn Baayen)
Matthias Clasen [Thu, 16 Dec 2004 13:33:43 +0000 (13:33 +0000)]
Don't crash if enable_search is FALSE. (#161267, Jorn Baayen)

2004-12-16  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (gtk_tree_view_real_start_interactive_search): Don't
crash if enable_search is FALSE.  (#161267, Jorn Baayen)

* gtk/gtkfilechooserbutton.c (gtk_file_chooser_button_mnemonic_activate):
Re-fix #152925, reported by Dennis Cranston.

21 years agoAdd missing includes.
Matthias Clasen [Thu, 16 Dec 2004 04:57:18 +0000 (04:57 +0000)]
Add missing includes.

2004-12-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserbutton.c: Add missing includes.

21 years agoRequire glib 2.6.0 for g_filename_display_basename.
Matthias Clasen [Thu, 16 Dec 2004 03:49:22 +0000 (03:49 +0000)]
Require glib 2.6.0 for g_filename_display_basename.

2004-12-15  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Require glib 2.6.0 for
g_filename_display_basename.

* gtk/gtkentrycompletion.[hc]: Make the prefix parameter
to the insert-prefix signal a const gchar* instead of a
gchar*.  (#161415, Murray Cumming)
Also remove an unused static function.

21 years agoIndentation fix. Won't bother with a ChangeLog entry.
Tor Lillqvist [Wed, 15 Dec 2004 22:27:40 +0000 (22:27 +0000)]
Indentation fix. Won't bother with a ChangeLog entry.

21 years agoWin32 edits.
Tor Lillqvist [Wed, 15 Dec 2004 22:09:49 +0000 (22:09 +0000)]
Win32 edits.

21 years agoTiny typo
Matthias Clasen [Wed, 15 Dec 2004 18:05:24 +0000 (18:05 +0000)]
Tiny typo

21 years agoDocument GdkTrapezoid.
Matthias Clasen [Wed, 15 Dec 2004 17:34:54 +0000 (17:34 +0000)]
Document GdkTrapezoid.

2004-12-15  Matthias Clasen  <mclasen@redhat.com>

* gdk/tmpl/drawing.sgml: Document GdkTrapezoid.

21 years agoRemove a dangling link.
Matthias Clasen [Wed, 15 Dec 2004 17:25:25 +0000 (17:25 +0000)]
Remove a dangling link.

* gtk/glossary.xml: Remove a dangling link.

21 years agoAdd/improve long descriptions.
Matthias Clasen [Wed, 15 Dec 2004 17:25:10 +0000 (17:25 +0000)]
Add/improve long descriptions.

2004-12-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/tmpl/gtkcelleditable.sgml:
* gtk/tmpl/gtkcellview.sgml:
* gtk/tmpl/gtktreeviewcolumn.sgml:
* gtk/tmpl/gtktreeview.sgml:
* gtk/tmpl/gtktreesortable.sgml: Add/improve long
descriptions.

21 years agoUse g_filename_display_basename to calculate display name.
Alexander Larsson [Wed, 15 Dec 2004 16:57:46 +0000 (16:57 +0000)]
Use g_filename_display_basename to calculate display name.

2004-12-15  Alexander Larsson  <alexl@redhat.com>

* gtk/gtkfilesystemunix.c (gtk_file_folder_unix_get_info):
Use g_filename_display_basename to calculate display name.

21 years agoUpdates
Matthias Clasen [Wed, 15 Dec 2004 16:38:40 +0000 (16:38 +0000)]
Updates

21 years agoUse _gtk_menu_item_popup_submenu() to make keynav into submenus work
Matthias Clasen [Wed, 15 Dec 2004 16:27:30 +0000 (16:27 +0000)]
Use _gtk_menu_item_popup_submenu() to make keynav into submenus work

2004-12-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenushell.c (gtk_menu_shell_select_submenu_first)
(gtk_real_menu_shell_activate_current): Use
_gtk_menu_item_popup_submenu() to make keynav into submenus work
instantaneously, independent of the popup delay.  (#161140)

* gtk/gtkmenuitem.[hc]: _-prefix gtk_menu_item_popup_submenu() and
make it non-static.

* gtk/gtkmenuitem.c (gtk_menu_item_paint): Remove unused variables.

21 years agoUse a GtkComboBox in SELECT_FOLDER mode (#157726).
James M. Cape [Wed, 15 Dec 2004 14:58:39 +0000 (14:58 +0000)]
Use a GtkComboBox in SELECT_FOLDER mode (#157726).

2004-12-15  James M. Cape  <jcape@ignore-your.tv>

        * gtk/gtkfilechooserbutton.c (struct _GtkFileChooserButtonPrivate)
        (gtk_file_chooser_button_init)
        (gtk_file_chooser_button_file_chooser_iface_init)
        (gtk_file_chooser_button_add_shortcut_folder)
        (gtk_file_chooser_button_remove_shortcut_folder)
        (gtk_file_chooser_button_constructor)
        (gtk_file_chooser_button_set_property)
        (gtk_file_chooser_button_destroy)
        (gtk_file_chooser_button_finalize)
        (get_icon_theme) (get_display_name_for_path) (model_get_type_position)
        (model_free_row_data) (model_add_special) (model_add_other)
        (model_add_volumes) (model_add_bookmarks)
        (model_update_current_folder) (model_remove_rows)
        (filter_model_visible_func) (combo_box_row_separator_func)
        (name_cell_data_func) (update_combo_box) (fs_volumes_changed_cb)
        (fs_bookmarks_changed_cb) (combo_box_changed_cb)
        (change_icon_size): Use a GtkComboBox in SELECT_FOLDER mode (#157726).

        * gtk/gtkfilechooserbutton.c:
        * gtk/gtkfilechooserbutton.h (gtk_file_chooser_button_new)
        (gtk_file_chooser_button_new_with_backend): Add @action to constructors
        to match other GtkFileChooser impls. API CHANGE.

        * docs/tools/widgets.c (create_file_button):
        * tests/testfilechooserbutton.c (main): Update callers.

        * docs/reference/gtk/tmpl/gtkfilechooserbutton.sgml: Reflect API
        change.

        * tests/testfilechooserbutton.c: Add LGPL license.
        (main): Added GOption parser for --backend and --right-to-left cmd line
        args.
        (add_pwds_parent_as_shortcut_clicked_cb)
        (del_pwds_parent_as_shortcut_clicked_cb) (tests_button_clicked_cb):
        Add shortcut_folders test.
        (chooser_current_folder_changed_cb) (chooser_selection_changed_cb)
        (chooser_file_activated_cb) (chooser_update_preview_cb): Print URIS,
        not filenames.

21 years agoDon't try to filter if impl->current_filter is NULL. (#161329, R.
Matthias Clasen [Wed, 15 Dec 2004 14:30:53 +0000 (14:30 +0000)]
Don't try to filter if impl->current_filter is NULL. (#161329, R.

2004-12-15  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c (get_is_file_filtered): Don't
try to filter if impl->current_filter is NULL.  (#161329,
R. McFarland)

21 years agoMerged from gtk-2-4:
Federico Mena Quintero [Wed, 15 Dec 2004 01:37:41 +0000 (01:37 +0000)]
Merged from gtk-2-4:

2004-12-14  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-4:

Fix #145470:

* gtk/gtkfilechooserdefault.c
(gtk_file_chooser_default_initial_focus): Queue a pending
operation to select the first row if we are not finished loading
yet.
(gtk_file_chooser_default_class_init): Override GtkWidget::map().
(gtk_file_chooser_default_map): New ::map() handler; refresh the
file and bookmark lists.

* gtk/gtkfilechooserdialog.c (gtk_file_chooser_dialog_class_init):
Override GtkWidget::map() and GtkWidget::unmap().
(gtk_file_chooser_dialog_constructor): Don't call initial_focus()
here.
(gtk_file_chooser_dialog_map): Map the file chooser widget if
needed.  Call initial_focus() here.
(gtk_file_chooser_dialog_unmap): Unmap the file chooser widget.
When we are re-mapped, the widget will get mapped as well and it
will have a chance to refresh.

21 years agoUpdated Canadian English translation.
Adam Weinberger [Wed, 15 Dec 2004 00:00:18 +0000 (00:00 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

21 years agoFix a typo
Matthias Clasen [Tue, 14 Dec 2004 18:56:34 +0000 (18:56 +0000)]
Fix a typo

2004-12-14  Matthias Clasen  <mclasen@redhat.com>

* README.win32: Fix a typo

* README.in: Updates

21 years agoDon't use gtk_cell_renderer_set_values().
Matthias Clasen [Tue, 14 Dec 2004 15:09:32 +0000 (15:09 +0000)]
Don't use gtk_cell_renderer_set_values().

2004-12-14  Matthias Clasen  <mclasen@redhat.com>

* tests/testcombo.c (main): Don't use gtk_cell_renderer_set_values().

21 years agoBump version to 2.6.0
Matthias Clasen [Tue, 14 Dec 2004 14:42:10 +0000 (14:42 +0000)]
Bump version to 2.6.0

2004-12-14  Matthias Clasen  <mclasen@redhat.com>

* configure.in: Bump version to 2.6.0

* NEWS: Updates

21 years agoTest oversized items.
Matthias Clasen [Tue, 14 Dec 2004 14:08:30 +0000 (14:08 +0000)]
Test oversized items.

2004-12-14  Matthias Clasen  <mclasen@redhat.com>

* tests/testiconview.c: Test oversized items.

21 years agoAdd new symbols.
Matthias Clasen [Tue, 14 Dec 2004 06:39:45 +0000 (06:39 +0000)]
Add new symbols.

2004-12-14  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtk.symbols: Add new symbols.

* gtk/gtkiconview.[hc]: Make the icon view lay out its
items in a grid, allocating multiple grid cells to oversized
items. Also convert hardwired spacing constants into
properties.  (#152483)

21 years agoUpdated Czech translation.
Miloslav Trmac [Mon, 13 Dec 2004 22:04:14 +0000 (22:04 +0000)]
Updated Czech translation.

2004-12-13  Miloslav Trmac  <mitr@volny.cz>

* cs.po: Updated Czech translation.

21 years agos/maximal/maximum/g (#161195, David Lodge)
Matthias Clasen [Mon, 13 Dec 2004 20:41:19 +0000 (20:41 +0000)]
s/maximal/maximum/g (#161195, David Lodge)

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c: s/maximal/maximum/g  (#161195, David Lodge)

21 years agoUpdated British translation.
David Lodge [Mon, 13 Dec 2004 20:24:04 +0000 (20:24 +0000)]
Updated British translation.

2004-12-13  David Lodge <dave@cirt.net>

        * en_GB.po: Updated British translation.

21 years agoReintroduce the reverted change, since it is necessary to prevent lost
Matthias Clasen [Mon, 13 Dec 2004 20:04:40 +0000 (20:04 +0000)]
Reintroduce the reverted change, since it is necessary to prevent lost

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Reintroduce
the reverted change, since it is necessary to prevent lost
submenus. But make it work for torn-off menus as well.

21 years agoFix the signature to avoid overwriting a pspec.
Matthias Clasen [Mon, 13 Dec 2004 19:53:19 +0000 (19:53 +0000)]
Fix the signature to avoid overwriting a pspec.

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktearoffmenuitem.c (tearoff_state_changed): Fix the signature
to avoid overwriting a pspec.

21 years agoRevert a change which prevented torn-off menus from being shown normally.
Matthias Clasen [Mon, 13 Dec 2004 19:23:58 +0000 (19:23 +0000)]
Revert a change which prevented torn-off menus from being shown normally.

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenuitem.c (gtk_real_menu_item_select): Revert a change
which prevented torn-off menus from being shown normally.

21 years agoResync with upstream again
Marco Pesenti Gritti [Mon, 13 Dec 2004 19:13:58 +0000 (19:13 +0000)]
Resync with upstream again

2004-12-13  Marco Pesenti Gritti  <marco@gnome.org>

        * xdgmimeglob.c: (_xdg_glob_hash_lookup_file_name):

        Resync with upstream again

21 years agoImplement scroll wheel scrolling for menus. (#88532)
Matthias Clasen [Mon, 13 Dec 2004 18:40:12 +0000 (18:40 +0000)]
Implement scroll wheel scrolling for menus. (#88532)

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling
for menus. (#88532)

21 years agoImplement scroll wheel scrolling for menus. (#88532)
Matthias Clasen [Mon, 13 Dec 2004 18:22:02 +0000 (18:22 +0000)]
Implement scroll wheel scrolling for menus. (#88532)

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkmenu.c (gtk_menu_scroll): Implement scroll wheel scrolling
for menus. (#88532)

21 years agoCompare only the HAS_DEFAULT flags. (#160711, Tommi Komulainen)
Matthias Clasen [Mon, 13 Dec 2004 17:27:32 +0000 (17:27 +0000)]
Compare only the HAS_DEFAULT flags. (#160711, Tommi Komulainen)

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c (gtk_window_real_set_focus): Compare only
the HAS_DEFAULT flags.  (#160711, Tommi Komulainen)

21 years agoAdd a missing break statement. (#161172, Damon Chaplin)
Matthias Clasen [Mon, 13 Dec 2004 17:10:52 +0000 (17:10 +0000)]
Add a missing break statement. (#161172, Damon Chaplin)

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkimage.c (gtk_image_set_property): Add a missing break
statement.  (#161172, Damon Chaplin)

21 years agoUpdates
Matthias Clasen [Mon, 13 Dec 2004 17:09:13 +0000 (17:09 +0000)]
Updates

21 years agoUpdated Canadian English translation.
Adam Weinberger [Mon, 13 Dec 2004 16:45:19 +0000 (16:45 +0000)]
Updated Canadian English translation.

* en_CA.po: Updated Canadian English translation.

21 years agoAdd a width-chars property like GtkLabel has. (#160496, James M. Cape)
Matthias Clasen [Mon, 13 Dec 2004 16:12:39 +0000 (16:12 +0000)]
Add a width-chars property like GtkLabel has. (#160496, James M. Cape)

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellrenderertext.c: Add a width-chars property like
GtkLabel has.  (#160496, James M. Cape)

21 years agoUpdates
Matthias Clasen [Mon, 13 Dec 2004 15:31:43 +0000 (15:31 +0000)]
Updates

21 years agoAdd some docs for GtkWidget::delete-event and GtkWidget::destroy-event.
Matthias Clasen [Mon, 13 Dec 2004 13:50:34 +0000 (13:50 +0000)]
Add some docs for GtkWidget::delete-event and GtkWidget::destroy-event.

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwidget.c (gtk_widget_class_init): Add some docs for
GtkWidget::delete-event and GtkWidget::destroy-event.  (#161142,
Paolo Borelli)

21 years agoAdd a max-width-chars property, which can be used to specify the width of
Matthias Clasen [Mon, 13 Dec 2004 06:34:54 +0000 (06:34 +0000)]
Add a max-width-chars property, which can be used to specify the width of

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.[hc]: Add a max-width-chars property, which can
be used to specify the width of the label in characters, while
still allowing it to fall short of this length if the text
is shorter.  (#155944, Christian Persch)

* gtk/gtk.symbols: Add new symbols.

21 years agoDon't let the empty menu filler affect visibility of separators. (#160500,
Matthias Clasen [Mon, 13 Dec 2004 05:35:17 +0000 (05:35 +0000)]
Don't let the empty menu filler affect visibility of separators. (#160500,

2004-12-13  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkuimanager.c (update_smart_separators): Don't let the
empty menu filler affect visibility of separators.  (#160500,
Christian Persch)

21 years agoPass a last item to gtk_combo_box_relayout_item. (#161050, John Finlay)
Matthias Clasen [Mon, 13 Dec 2004 04:22:07 +0000 (04:22 +0000)]
Pass a last item to gtk_combo_box_relayout_item. (#161050, John Finlay)

2004-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_menu_row_changed): Pass a
last item to gtk_combo_box_relayout_item.  (#161050, John Finlay)

21 years agoRename a local variable to avoid a conflict. (#161109, Robert Ögren) 1
Matthias Clasen [Mon, 13 Dec 2004 03:59:39 +0000 (03:59 +0000)]
Rename a local variable to avoid a conflict. (#161109, Robert Ögren) 1

2004-12-12  Matthias Clasen  <mclasen@redhat.com>

* tests/testfilechooserbutton.c (tests_button_clicked_cb): Rename
a local variable to avoid a conflict.  (#161109, Robert Ögren)
1

21 years agoFix a braino.
Tor Lillqvist [Sun, 12 Dec 2004 22:22:36 +0000 (22:22 +0000)]
Fix a braino.

21 years agoFix date of last entry.
Tor Lillqvist [Sun, 12 Dec 2004 21:25:41 +0000 (21:25 +0000)]
Fix date of last entry.

21 years agogtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c
Tor Lillqvist [Sun, 12 Dec 2004 21:09:13 +0000 (21:09 +0000)]
gtk/gtkaccelmap.[ch] gtk/gtkfilechooser.[ch] gtk/gtkfilesel.c

2004-12-12  Tor Lillqvist  <tml@iki.fi>

* gtk/gtkaccelmap.[ch]
* gtk/gtkfilechooser.[ch]
* gtk/gtkfilesel.c
* gtk/gtkfilesystemwin32.c
* gtk/gtkiconfactory.[ch]
* gtk/gtkicontheme.[ch]
* gtk/gtkimage.[ch]
* gtk/gtkimmodule.c
* gtk/gtkmodules.c
* gtk/gtkrc.[ch]
* gtk/gtkuimanager.[ch]
* gtk/gtkwindow.[ch]
* gtk/updateiconcache.c
* gtk/gtk.symbols: Use gstdio wrappers. On Windows, convert
environment variables referring to pathnames from locale encoding
to UTF-8. As in GLib, in order to preserve Windows DLL ABI
stability, add binary compatibility versions of functions that
take file names as arguments, or return file names. Add a _utf8
suffix to the "real" such functions on Windows. The ABI
compatibility versions keep the old name.

* gtk/Makefile.am: Strip PRIVATE symbols from the GNU import
library.

* gtk/gtkiconcache.c (_gtk_icon_cache_new_for_path): Implement
file mapping on Win32.

* gtk/updateiconcache.c: Don't crash if invoked without
argument. Use binary mode when opening file.

* modules/engines/ms-windows/Theme/gtk-2.0/Makefile.am: Install
gtkrc in correct place, in <datadir>/themes/MS-Windows/gtk-2.0.

21 years agoUpdated Bulgarian translation
Alexander Shopov [Sun, 12 Dec 2004 18:34:04 +0000 (18:34 +0000)]
Updated Bulgarian translation

2004-12-12  Alexander Shopov  <ash@contact.bg>

* bg.po: Updated Bulgarian translation

21 years agoFix a copy-and-paste error, noticed by Robert Ögren.
Matthias Clasen [Sun, 12 Dec 2004 18:11:47 +0000 (18:11 +0000)]
Fix a copy-and-paste error, noticed by Robert Ögren.

2004-12-12  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_setup_mnemonic): Fix a
copy-and-paste error, noticed by Robert Ögren.

21 years agoOnly wrap if we are in the topmost menu. (#160936, John Finlay)
Matthias Clasen [Sat, 11 Dec 2004 05:25:02 +0000 (05:25 +0000)]
Only wrap if we are in the topmost menu. (#160936, John Finlay)

2004-12-11  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_menu_fill_level)
(gtk_combo_box_menu_row_changed): Only wrap if we are in the
topmost menu.  (#160936, John Finlay)

21 years agoSupport no-Alt mnemnonics in menu bars (#101309, Owen Taylor)
Matthias Clasen [Fri, 10 Dec 2004 22:09:22 +0000 (22:09 +0000)]
Support no-Alt mnemnonics in menu bars (#101309, Owen Taylor)

2004-12-10  Matthias Clasen  <mclasen@redhat.com>

Support no-Alt mnemnonics in menu bars  (#101309, Owen Taylor)

* gtk/gtkwindow.c: Factor out mnemonic hash code into
a separate file.

* gtk/gtkmnemonichash.[hc]: Factored out mnemonic hash
code from gtkwindow.c.

* gtk/Makefile.am (gtk_c_sources): Add gtkmnemonichash.[hc].

* gtk/gtkmenushell.c (struct _GtkMenuShellPrivate): Give
menu shells their own mnemonic hash.

* gtk/gtkmenushell.h: Add private api to support mnemonics.

* gtk/gtklabel.c (gtk_label_setup_mnemonic): Add mnemonic to
the menushell mnemonic hash when inside a menu.

21 years agoadd recent new functions.
Manish Singh [Fri, 10 Dec 2004 22:00:26 +0000 (22:00 +0000)]
add recent new functions.

Fri Dec 10 13:59:32 2004  Manish Singh  <yosh@gimp.org>

        * gtk/gtk.symbols: add recent new functions.

21 years agowrap new API in XDG_ENTRY().
Manish Singh [Fri, 10 Dec 2004 21:59:19 +0000 (21:59 +0000)]
wrap new API in XDG_ENTRY().

Fri Dec 10 13:58:38 2004  Manish Singh  <yosh@gimp.org>

        * xdgmime.h: wrap new API in XDG_ENTRY().

21 years agofilter out PRIVATE.
Manish Singh [Fri, 10 Dec 2004 21:58:05 +0000 (21:58 +0000)]
filter out PRIVATE.

Fri Dec 10 13:57:44 2004  Manish Singh  <yosh@gimp.org>

        * abicheck.sh: filter out PRIVATE.

21 years agoRevert the patch which added no-alt mnemonics, since it interfers badly
Matthias Clasen [Fri, 10 Dec 2004 21:38:48 +0000 (21:38 +0000)]
Revert the patch which added no-alt mnemonics, since it interfers badly

2004-12-10  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkwindow.c: Revert the patch which added no-alt
mnemonics, since it interfers badly with menus.  (#160911,
Jonathan Blandford)

21 years agoFix a property nick typo.
Matthias Clasen [Fri, 10 Dec 2004 03:41:04 +0000 (03:41 +0000)]
Fix a property nick typo.

2004-12-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtklabel.c (gtk_label_class_init): Fix a property
nick typo.

21 years agoApply a patch to reset the filter if an otherwise invisible file is
Matthias Clasen [Thu, 9 Dec 2004 22:06:55 +0000 (22:06 +0000)]
Apply a patch to reset the filter if an otherwise invisible file is

2004-12-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkfilechooserdefault.c: Apply a patch to reset the
filter if an otherwise invisible file is selected via the
location popup.  (#159896, Carlos Garnacho Parro)

21 years agoFix #145463, reported by Michael Natterer.
Matthias Clasen [Thu, 9 Dec 2004 17:55:58 +0000 (17:55 +0000)]
Fix #145463, reported by Michael Natterer.

2004-12-09  Matthias Clasen  <mclasen@redhat.com>

Fix #145463, reported by Michael Natterer.

* gtk/gtkcellrenderer.h (struct _GtkCellRenderer): Add an
editing flag to keep track of when editing is done.

* gtk/gtkcellrenderer.h:
* gtk/gtkcellrenderer.c (gtk_cell_renderer_stop_editing): New
function to replace gtk_cell_renderer_editing_canceled().
Deprecate gtk_cell_renderer_editing_canceled().

* gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_editing_done):
* gtk/gtkcellrenderercombo.c (gtk_cell_renderer_combo_editing_done):
* gtk/gtktreeview.c (gtk_tree_view_stop_editing):
Use gtk_cell_renderer_stop_editing().

21 years agoResync with upstream
Marco Pesenti Gritti [Thu, 9 Dec 2004 17:26:52 +0000 (17:26 +0000)]
Resync with upstream

2004-12-09  Marco Pesenti Gritti  <marco@gnome.org>

        * xdgmime.c: (xdg_mime_unalias_mime_type),
        (xdg_mime_mime_type_equal), (xdg_mime_mime_type_subclass),
        (xdg_mime_get_mime_parents):
        * xdgmime.h:
        * xdgmimealias.c: (_xdg_mime_alias_list_lookup):
        * xdgmimeglob.c: (_xdg_glob_hash_node_lookup_file_name):
        * xdgmimeint.c: (_xdg_ucs4_to_lower):
        * xdgmimeint.h:
        * xdgmimemagic.c: (_xdg_mime_magic_read_from_file):
        * xdgmimeparent.c: (_xdg_mime_parent_list_lookup):

        Resync with upstream

21 years agoMake repeated calls accumulate the results, don't call qsort() on empty
Matthias Clasen [Thu, 9 Dec 2004 14:15:00 +0000 (14:15 +0000)]
Make repeated calls accumulate the results, don't call qsort() on empty

2004-12-09  Matthias Clasen  <mclasen@redhat.com>

* xdgmimealias.c (_xdg_mime_alias_read_from_file):
* xdgmimeparent.c (_xdg_mime_parent_read_from_file): Make
repeated calls accumulate the results, don't call qsort()
on empty arrays.  (#160838, Mariano Suárez-Alvarez)

21 years agoAdd functions which allow faster insertion of rows in sorted list stores.
Matthias Clasen [Thu, 9 Dec 2004 06:21:39 +0000 (06:21 +0000)]
Add functions which allow faster insertion of rows in sorted list stores.

2004-12-09  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkliststore.h:
* gtk/gtkliststore.c (gtk_list_store_insert_with_values):
(gtk_list_store_insert_with_valuesv): Add functions which allow
faster insertion of rows in sorted list stores.  (#160063)

21 years agoFix a typo in the docs. (#160826, Jay Camp)
Matthias Clasen [Thu, 9 Dec 2004 03:58:24 +0000 (03:58 +0000)]
Fix a typo in the docs. (#160826, Jay Camp)

2004-12-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcombobox.c (gtk_combo_box_set_wrap_width): Fix a typo
in the docs.  (#160826, Jay Camp)

21 years agoMerged from gtk-2-4:
Federico Mena Quintero [Thu, 9 Dec 2004 02:12:47 +0000 (02:12 +0000)]
Merged from gtk-2-4:

2004-12-08  Federico Mena Quintero  <federico@ximian.com>

Merged from gtk-2-4:

* gtk/gtkfilechooserdefault.c (pending_op_process): Center the
selected row so that it's easily visible.

21 years agoFix #111031, reported by Padraig O'Briain:
Matthias Clasen [Wed, 8 Dec 2004 21:25:08 +0000 (21:25 +0000)]
Fix #111031, reported by Padraig O'Briain:

2004-12-08  Matthias Clasen  <mclasen@redhat.com>

Fix #111031, reported by Padraig O'Briain:

* gtk/gtktextlayout.h:
* gtk/gtktextlayout.c (gtk_text_layout_get_iter_at_position):
Add a variant of gtk_text_layout_get_iter_at_pixel() which
returns the character at the position, not the closest
cursor position.

* gtk/gtktextview.h:
* gtk/gtktextview.c (gtk_text_view_get_iter_at_position):
Add a variant of gtk_text_view_get_iter_at_location() which
returns the character at the position, not the closest
cursor position.

21 years agoRemove all entries for the same key, not just the first one. (#159498,
Matthias Clasen [Wed, 8 Dec 2004 13:56:10 +0000 (13:56 +0000)]
Remove all entries for the same key, not just the first one. (#159498,

2004-12-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkaccelmap.c (internal_change_entry): Remove all
entries for the same key, not just the first one.  (#159498,
Christian Persch)

21 years agoUpdated pt_BR translation
Raphael Higino [Wed, 8 Dec 2004 12:37:33 +0000 (12:37 +0000)]
Updated pt_BR translation

21 years agoUse button->event_window for the fake leave event, otherwise the button
Matthias Clasen [Wed, 8 Dec 2004 05:57:04 +0000 (05:57 +0000)]
Use button->event_window for the fake leave event, otherwise the button

2004-12-08  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeview.c (_gtk_tree_view_column_start_drag): Use
button->event_window for the fake leave event, otherwise
the button ignores it.

21 years agoMake this work, no need to invert the array.
Matthias Clasen [Wed, 8 Dec 2004 04:57:40 +0000 (04:57 +0000)]
Make this work, no need to invert the array.

2004-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkiconview.c (gtk_icon_view_rows_reordered): Make this
work, no need to invert the array.

* gtk/gtkliststore.c (gtk_list_store_sort_iter_changed): Emit
rows_reordered if the row has been moved.  (#160063)

21 years agoDon't mess up the column header state if the button release event is
Matthias Clasen [Wed, 8 Dec 2004 03:17:41 +0000 (03:17 +0000)]
Don't mess up the column header state if the button release event is

2004-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_button_event):
Don't mess up the column header state if the button release
event is missed.  (#159640)

21 years agoFix a typo in last commit
Marco Pesenti Gritti [Tue, 7 Dec 2004 15:32:08 +0000 (15:32 +0000)]
Fix a typo in last commit

2004-12-07  Marco Pesenti Gritti  <marco@gnome.org>

        * gtk/gtkcellview.c: (gtk_cell_view_set_background_color):

        Fix a typo in last commit

21 years agoQueue a redraw. (#160679, Damon Chaplin)
Matthias Clasen [Tue, 7 Dec 2004 14:12:51 +0000 (14:12 +0000)]
Queue a redraw. (#160679, Damon Chaplin)

2004-12-07  Matthias Clasen  <mclasen@redhat.com>

* gtk/gtkcellview.c (gtk_cell_view_set_background_color): Queue
a redraw.  (#160679, Damon Chaplin)

21 years agoAdd complex dialogs to gallery.
Matthias Clasen [Tue, 7 Dec 2004 06:22:19 +0000 (06:22 +0000)]
Add complex dialogs to gallery.

21 years agoPrevent double commits, don't commit when Ctrl is present. (#160376,
Matthias Clasen [Mon, 6 Dec 2004 05:21:39 +0000 (05:21 +0000)]
Prevent double commits, don't commit when Ctrl is present. (#160376,

2004-12-06  Matthias Clasen  <mclasen@redhat.com>

* modules/input/gtkimcontextime.c: Prevent double commits,
don't commit when Ctrl is present.  (#160376, Kazuki IWAMOTO)